package com.cskaoyan.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SearchHistory {
    private Integer id;

    private Integer userId;

    private String keyword;

    private String from;

    //@JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private Date addTime;

    //@JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private Date updateTime;

    private Boolean deleted;

}
